*,
*:before,
*:after {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background: #fff8c2;
}
#content {
  max-width: 960px;
  margin: 0 auto;
}
.box {
  height: 140px;
  width: 140px;
  margin: 10px;
  background: #cec79c;
  position: relative;
  list-style: none;
  display: inline-block;
  -webkit-border-radius: 8.75px;
  -moz-border-radius: 8.75px;
  border-radius: 8.75px;
  overflow: visible;
  -webkit-perspective: 700px;
  -moz-perspective: 700px;
  -o-perspective: 700px;
  perspective: 700px;
  font-family: sans-serif;
}
.box:before {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 2;
  height: 30px;
  width: 140px;
  line-height: 30px;
  text-align: center;
  color: #333226;
  font-weight: 700;
  font-size: 12px;
}
.box-inner {
  height: 140px;
  width: 140px;
  background: #868692;
  position: absolute;
  display: block;
  -webkit-border-radius: 8.75px;
  -moz-border-radius: 8.75px;
  border-radius: 8.75px;
  z-index: 0;
  -webkit-transform-style: preserve-3d;
  -moz-transform-style: preserve-3d;
  -o-transform-style: preserve-3d;
  transform-style: preserve-3d;
}
.back {
  height: 140px;
  width: 140px;
  position: absolute;
  display: block;
  -webkit-border-radius: 8.75px;
  -moz-border-radius: 8.75px;
  border-radius: 8.75px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -o-backface-visibility: hidden;
  backface-visibility: hidden;
  background: #92646c;
}
.box.flip-x:hover .box-inner {
  -webkit-animation: flip-x 1000ms linear infinite;
  -moz-animation: flip-x 1000ms linear infinite;
  animation: flip-x 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.flip-x:before {
  content: 'flip-x';
}
.box.flip-y:hover .box-inner {
  -webkit-animation: flip-y 1000ms linear infinite;
  -moz-animation: flip-y 1000ms linear infinite;
  animation: flip-y 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.flip-y:before {
  content: 'flip-y';
}
.box.flip-z:hover .box-inner {
  -webkit-animation: flip-z 1000ms linear infinite;
  -moz-animation: flip-z 1000ms linear infinite;
  animation: flip-z 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.flip-z:before {
  content: 'flip-z';
}
.box.flip-xy:hover .box-inner {
  -webkit-animation: flip-xy 1000ms linear infinite;
  -moz-animation: flip-xy 1000ms linear infinite;
  animation: flip-xy 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.flip-xy:before {
  content: 'flip-xy';
}
.box.flip-xyz:hover .box-inner {
  -webkit-animation: flip-xyz 1000ms linear infinite;
  -moz-animation: flip-xyz 1000ms linear infinite;
  animation: flip-xyz 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.flip-xyz:before {
  content: 'flip-xyz';
}
.box.fade-in-out:hover .box-inner {
  -webkit-animation: fade-in-out 1000ms linear infinite;
  -moz-animation: fade-in-out 1000ms linear infinite;
  animation: fade-in-out 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.fade-in-out:before {
  content: 'fade-in-out';
}
.box.beat:hover .box-inner {
  -webkit-animation: beat 1000ms linear infinite;
  -moz-animation: beat 1000ms linear infinite;
  animation: beat 1000ms linear infinite;
  -webkit-animation-fill-mode: none;
  -moz-animation-fill-mode: none;
  animation-fill-mode: none;
}
.box.beat:before {
  content: 'beat';
}
/* {
   : */@-webkit-keyframes flip-x {0% {-webkit-transform:rotateX(0deg)}100% {-webkit-transform:rotateX(-360deg)}}/*;
}
/**/
/* {
   : */@-moz-keyframes flip-x {0% {-moz-transform:rotateX(0deg)}100% {-moz-transform:rotateX(-360deg)}}/*;
}
/**/
/* {
   : */@keyframes flip-x {0% {transform:rotateX(0deg)}100% {transform:rotateX(-360deg)}}/*;
}
/**/
/* {
   : */@-webkit-keyframes flip-y {0% {-webkit-transform:rotateY(0deg)}100% {-webkit-transform:rotateY(-360deg)}}/*;
}
/**/
/* {
   : */@-moz-keyframes flip-y {0% {-moz-transform:rotateY(0deg)}100% {-moz-transform:rotateY(-360deg)}}/*;
}
/**/
/* {
   : */@keyframes flip-y {0% {transform:rotateY(0deg)}100% {transform:rotateY(-360deg)}}/*;
}
/**/
/* {
   : */@-webkit-keyframes flip-z {0% {-webkit-transform:rotate3d(0,0,1,0deg)}100% {-webkit-transform:rotate3d(0,0,1,-360deg)}}/*;
}
/**/
/* {
   : */@-moz-keyframes flip-z {0% {-moz-transform:rotate3d(0,0,1,0deg)}100% {-moz-transform:rotate3d(0,0,1,-360deg)}}/*;
}
/**/
/* {
   : */@keyframes flip-z {0% {transform:rotate3d(0,0,1,0deg)}100% {transform:rotate3d(0,0,1,-360deg)}}/*;
}
/**/
/* {
   : */@-webkit-keyframes flip-xy {0% {-webkit-transform:rotate3d(1,1,0,0deg)}100% {-webkit-transform:rotate3d(1,1,0,-360deg)}}/*;
}
/**/
/* {
   : */@-moz-keyframes flip-xy {0% {-moz-transform:rotate3d(1,1,0,0deg)}100% {-moz-transform:rotate3d(1,1,0,-360deg)}}/*;
}
/**/
/* {
   : */@keyframes flip-xy {0% {transform:rotate3d(1,1,0,0deg)}100% {transform:rotate3d(1,1,0,-360deg)}}/*;
}
/**/
/* {
   : */@-webkit-keyframes flip-xyz {0% {-webkit-transform:rotate3d(1,1,1,0deg)}100% {-webkit-transform:rotate3d(1,1,1,-360deg)}}/*;
}
/**/
/* {
   : */@-moz-keyframes flip-xyz {0% {-moz-transform:rotate3d(1,1,1,0deg)}100% {-moz-transform:rotate3d(1,1,1,-360deg)}}/*;
}
/**/
/* {
   : */@keyframes flip-xyz {0% {transform:rotate3d(1,1,1,0deg)}100% {transform:rotate3d(1,1,1,-360deg)}}/*;
}
/**/
/* {
   : */@-webkit-keyframes fade-in-out {0%,100% {-webkit-opacity:0}50% {-webkit-opacity:1}}/*;
}
/**/
/* {
   : */@-moz-keyframes fade-in-out {0%,100% {-moz-opacity:0}50% {-moz-opacity:1}}/*;
}
/**/
/* {
   : */@keyframes fade-in-out {0%,100% {opacity:0}50% {opacity:1}}/*;
}
/**/
/* {
   : */@-webkit-keyframes beat {0%,30%,100%{-webkit-transform:scale(1)}20%,50% {-webkit-transform:scale(1.2)}}/*;
}
/**/
/* {
   : */@-moz-keyframes beat {0%,30%,100%{-moz-transform:scale(1)}20%,50% {-moz-transform:scale(1.2)}}/*;
}
/**/
/* {
   : */@keyframes beat {0%,30%,100%{transform:scale(1)}20%,50% {transform:scale(1.2)}}/*;
}
/**/
